<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>盒子模型2</title>
    <style>
        .div1{
            border: 10px #000 solid;
            width: 140px;
            height: 140px;
            background-color: gold;
            padding:20px;
        }
    </style>
</head>
<body>
    <div class="div1">盒子里面的文字内容，距离边框有一定距离</div>
    
</body>
</html>